package com.xy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
/**
 * 排除自动配置 DataSource 数据库，为多数据源做准备
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableFeignClients
public class OpenFeignHttpApplication {
    public static void main(String [] args){
        SpringApplication.run(OpenFeignHttpApplication.class,args);
    }
}
